<template>
  <div>
    <h3>
      我是About --- {{ $store.state.Li.name }}
      <!-- <button @click="change">修改</button> -->
    </h3>
  </div>
</template>

<script>
import axios from '@/http'
export default {
  created() {
    // https://api-hmugo-web.itheima.net/api/public/v1/home/catitems
    axios.get("https://api-hmugo-web.itheima.net/api/public/v1/home/swiperdata").then((res) => {
      console.log(res);
    });
    // console.log(this.$store)
  },
  methods: {
    // change() {
    //   this.$store.commit('Li/changeName')
    // }
  },
};
</script>

<style>
</style>